package com.jiakai.cashinterfacemucon.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Product implements Serializable {
    @SerializedName("ProductID")
    private String productId;
    @SerializedName("ProductName")
    private String productName;
//    @SerializedName("Date")
    private Date createTime;
//    @SerializedName("ProductType")
    private String productType;
    @SerializedName("ParkID")
    private String parkID;
//    @SerializedName("ParkCode")
    private String parkCode;
    @SerializedName("ParkName")
    private String parkName;
    @SerializedName("ProductCode")
    private String productCode;
    @SerializedName("ProductPrice")
    private BigDecimal productPrice;
    @SerializedName("PRODUCT_ISTHEATRE")
    private String isTheatre;

    private static final long serialVersionUID = -5773107316268942830L;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType == null ? null : productType.trim();
    }

    public String getParkID() {
        return parkID;
    }

    public void setParkID(String parkID) {
        this.parkID = parkID == null ? null : parkID.trim();
    }

    public String getParkCode() {
        return parkCode;
    }

    public void setParkCode(String parkCode) {
        this.parkCode = parkCode == null ? null : parkCode.trim();
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName == null ? null : parkName.trim();
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public String getIsTheatre() {
        return isTheatre;
    }

    public void setIsTheatre(String isTheatre) {
        this.isTheatre = isTheatre == null ? null : isTheatre.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", productId=").append(productId);
        sb.append(", productName=").append(productName);
        sb.append(", createTime=").append(createTime);
        sb.append(", productType=").append(productType);
        sb.append(", parkID=").append(parkID);
        sb.append(", parkCode=").append(parkCode);
        sb.append(", parkName=").append(parkName);
        sb.append(", productCode=").append(productCode);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", isTheatre=").append(isTheatre);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}